package DesignPatternFactory;

import java.util.ArrayList;

public class Hardware extends Produit{

	public Hardware()
	{
		this.denomination = "Ipad";
		this.anneeCreation = "2008";
		this.prix = 587;
		this.clients = new ArrayList<String>();
	}
	

	@Override
	public void AddClient() {
		this.clients.add("John Doe");
		this.clients.add("Adam Smith");
		System.out.println("les clients sont John Doe et Adam Smith") ;
	}
	
}
